package com.hzsai.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 * hzsai 2019/8/18
 * usage:
 **/
@Data
@JsonIgnoreProperties(value = "handler")
public class Order {

    /**
     * 订单是一对一的关系
     *        Order
     *          *
     *          *
     *          *
     *       Customer
     */
    private Integer id;
    private String name;
    private Customer customer;
}
